-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Github Actions #163
Github Actions #163
Conversation
…and after the upload
cp ./os4depot.readme ./os4depot-release/clib4_lha.readme | ||
sed -i "s/VERSION_TAG/${{ github.event.release.tag_name }}/" ./os4depot-release/os4depot.readme | ||
sed -i "s/OS4DEPOT_PASSPHRASE/${{ secrets.OS4DEPOT_PASSPHRASE }}/" ./os4depot-release/os4depot.readme |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The OS4DEPOT_PASSPHRASE
needs to be added to the Secrets of the repository
All deprecated OS4 functions are replaced by modern OS4 one. | ||
|
||
If you find any issue, please let us know at: | ||
https://github.com/AmigaLabs/clib4/issues |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This file will be uploaded to OS4Depot on every release. Please feel free to alter the text and also add more information. Also, please check the rest of the fields, if they need changes.
@@ -55,7 +55,7 @@ LIB_ROOT ?= $(shell pwd) | |||
LIB_DIR = $(LIB_ROOT)/library | |||
BUILD_DIR = $(LIB_ROOT)/build | |||
OUTPUT_LIB = $(BUILD_DIR)/lib | |||
DPKG_LIB = clib4_1.0_amd64 | |||
DPKG_LIB ?= clib4_1.0_amd64 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I did this to pass this value during the release action as an argument. Every release will take the version from the release tag.
scp_target: /opt/amigarepo/ubuntu/pool/main | ||
before_script: | | ||
rm /opt/amigarepo/ubuntu/pool/main/clib4*.deb |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Here deletes the previous released of the clib4 DEB file in the server
rm /opt/amigarepo/ubuntu/pool/main/clib4*.deb | ||
after_script: | | ||
/root/regenerate-packages.sh |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This script generates the packages files that are needed for the apt to access them. This is needed since we upgraded the clib4 file
I updated the Github actions to:
The release job right now does the following: